<?php
// +----------------------------------------------------------------------
// | 云静Admin
// +----------------------------------------------------------------------
// | Copyright (c) 2019-2020 http://www.yunj.net.cn
// +----------------------------------------------------------------------
// | 云静Admin提供个人非商业用途免费使用。
// +----------------------------------------------------------------------
// | Author: Uncle-L <1732983738@qq.com>
// +----------------------------------------------------------------------
// | 路由文件
// +----------------------------------------------------------------------

use think\facade\Route;

Route::group('admin/', function () {
    Route::get('', yunj_config("admin.index_controller") . "/index");
    Route::get('tips', yunj_config("admin.error_controller") . "/tips");
    Route::rule('empty', yunj_config("admin.error_controller") . "/_empty");
    Route::get('table/import', 'yunj/admin.table/import');
});

Route::group('file/', function () {
    Route::rule('upload', yunj_config("file.controller") . "/upload");
});
